package com.foreknow.var01;

public class Change {
    public static void main(String[] args) {

//      byte b = 20;
//      int a = b;
//      System.out.println(a);
//      long o = 1222L;
//      float f = o;
//      System.out.println(f);
//      char c = '张';
//      int x = c;
//      System.out.println(x);
//      int d = 24;
//      double e = d;
//      System.out.println(e);/n

        int a=(int)6.5;
        float b=(float)6;
        char c=(char)56;
        int d=(int)'汉';
        short e=156;
        e+=4.5;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);

        double d1 = 10.0;
        double d2 = 3.0;
        System.out.println(d1/d2);
        int aa = 5;
        int bb = 4;
        double cc = 1.5;
        double dd = ((aa*bb)+cc);
        System.out.println((aa++)+(aa++));
        int ee=5;
        System.out.println((++ee)+(++ee));

    }
}
